<template>
  <div>
    <ataqPDF v-if="!qyType('ataq')" ref="ataqPDF"/>
    <modelPDF v-else ref="modelPDF"/>
  </div>
</template>

<script>
import ataqPDF from "./ataq";
import modelPDF from "./comPDFmode";
export default {
  components:{ataqPDF,modelPDF},
  methods: {
    open(list){
      if(!this.qyType('ataq')){
        this.$refs.ataqPDF.open(list)
      }else{
        this.$refs.modelPDF.open(list)
      }
    }
  },
}
</script>

<style>

</style>